package com.hooda.dao;

import com.hooda.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author zhangzp
 * @version 1.0, 10/25/21
 */
@Mapper
public interface UserMapper {

    @Select("SELECT * FROM user WHERE username = #{username} LIMIT 1")
    User findUser(String username);

}
